//
// Created by 原帅 on 2022/10/3.
//

#include "TestInitProc.h"
#include "TestData.h"
#include "RMemoryManger.h"
#include "Ree.h"
#include "RTCPConnetor.h"
#include "TestReeProc.h"

int TestInitProc::initProcess(int argc, char **argv) {

    RTCPConnetor* rtcpConnetor = new RTCPConnetor("127.0.0.1",9999);
    rtcpConnetor->doConnect();
    Ree::Inst().addResponder(rtcpConnetor->getSockfd(), READ_FD, new TestReeProc());


//    RMemory<TestData> *testDataMemroy = new RMemory<TestData>() ;
//
//    TestData testData;
//    testData.timestmap();
//
//    testDataMemroy->insert(testData);
//
//    RMemoryManger::Inst().createRMemory<TestData>(111,1000);
    return 0;
}
